import request from '@/utils/request';

export async function queryETHOptionNet(name: string | undefined) {
  return request('/hk/blockchain/eth/ethOptionNet?'+"systemName="+name,{
    method: 'GET',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
      'token': `${localStorage.getItem('token')}`
    },
  });
}
export async function queryEthOptionCurrentNet(name: string | undefined) {
  return request('/hk/blockchain/eth/ethOptionCurrentNet?'+"systemName="+name, {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
      'token': `${localStorage.getItem('token')}`
    },
  });
}
export async function queryTslaStrategyLog() {
  return request('/hk/blockchain/stock/tslaStrategyLog', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
      'token': `${localStorage.getItem('token')}`
    },
  });
}

export async function queryFutuStockNet() {
  return request('/hk/blockchain/stock/futuStockNet', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json;charset=utf-8',
      'token': `${localStorage.getItem('token')}`
    },
  });
}
